package com.jnxx.task.mapper;

import com.jnxx.basic.mapper.BaseMapper;
import com.jnxx.task.domain.OkrStaff;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author haha
 * @since 2023-08-23
 */
public interface OkrStaffMapper extends BaseMapper<OkrStaff> {

    OkrStaff findByUserId(String userId);

    List<OkrStaff> findByIds(@Param("ids") List<Integer> ids);

    String findNameById(Long id);

    String[] findNameByIds(List<Long> longList);

    OkrStaff loadByFromId(Long fromId);
}
